package aiku.numericalcontroloa.Model.Dto.FinanceManagement;

import aiku.numericalcontroloa.Model.Dto.PageSelect;
import aiku.numericalcontroloa.Model.Entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.Year;
import java.time.YearMonth;
import java.util.Date;

/**
 * 收支明细类
 * @Author 黄广庭
 * @Date 2024/5/7 11:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IncomeExpenditureDetailDto extends PageSelect {
    private String id;

    /**
     * 账号id
     */
    private String accountId;

    /**
     * 付款、收款、报销id
     */
    private String expenseId;

    /**
     * 交易说明
     */
    private String tradeComment;

    /**
     * 明细类型（0付款支出，1报销支出，2收款收入）
     */
    private Integer detailType;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 交易时间
     */
    private Date tradingHours;

    /**
     * 备注
     */
    private String remark;

    private Year year;

    private YearMonth yearMonth;

    private LocalDate yearMonthDay;
}
